<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title><?php echo html::specialchars($title) ?></title>

	<style type="text/css">
	html { background: #FFF url(<?php echo url::base(FALSE) ?>images/banner/banner_pet2.jpg) 50% 0 no-repeat; }
	body { width: 1000px; margin: 150px auto 2em; font-size: 76%; font-family: Arial, sans-serif; color: #273907; line-height: 1.5; text-align: center; }
	h1 { font-size: 3em; font-weight: normal; text-transform: uppercase; color: #fff; }
	a { color: inherit; }
	code { font-size: 1.3em; }
	ul { list-style: none; padding: 0.1em 0; }
	ul li { display: inline; padding-right: 1em; text-transform: uppercase; }
	ul li a { padding: 0.3em 1em; background: #D24F32; border: 1px solid #982A11; color: #fff; text-decoration: none; }
	ul li a:hover { background: #F9E642; }
	.box { padding: 2em; background: #FFF; border: 1px solid rgb(221, 221, 221); }
	.boxLeft { padding: 2em; background: #FFF; border: 1px solid rgb(221, 221, 221); }
	.boxRight { padding: 2em; background: #FFF; border: 1px solid rgb(221, 221, 221); }
	.boxTDLeft { padding: 2em; background: #FFF; border: 1px solid rgb(221, 221, 221); }
	.copyright { font-size: 0.9em; text-transform: uppercase; color: #557d10; }
	.inputShow{background:none repeat scroll 0 0 #dcd7c4;border:1px solid #982A11;color:blue;text-decoration:none;}
	.category  a {font-family: "sans-serif"; color:#a0b74b; text-decoration: none; font-size: 12px;}
	.category  a:link {font-family: "sans-serif"; color:#a0b74b; text-decoration: none; font-size: 12px;}
	.category  a:hover {font-family: "sans-serif"; color:#a0b74b; text-decoration: underline; font-size: 12px;}
	.category  a:active {font-family: "sans-serif"; color:#a0b74b; text-decoration: none; font-size: 12px;} 
	</style>
<link rel="stylesheet" href="<?php echo url::base(FALSE) ?>css/jquery/template.css" type="text/css" media="screen" title="no title" charset="UTF-8" />
<script src="<?php echo url::base(FALSE) ?>/js/jquery/jquery.js" type="text/javascript" ></script> 
<script src="<?php echo url::base(FALSE) ?>js/jquery/jquery.lightbox-0.5.js" type="text/javascript" ></script>
<link rel="stylesheet" href="<?php echo url::base(FALSE) ?>css/jquery/jquery.lightbox-0.5.css" type="text/css" media="screen" />
<!-- Ativando o jQuery lightBox plugin -->
    <script type="text/javascript">
    $(function() {
        $('#gallery a').lightBox();
    });
    </script>
    	<style type="text/css">
	/* jQuery lightBox plugin - Gallery style */
	#gallery  img {
		border: 5px solid #3e3e3e;
		border-width: 5px 5px 20px;
	}
	#gallery  a:hover img {
		border: 5px solid rgb(221, 221, 221);
		border-width: 5px 5px 20px;
		color: #fff;
	}
	#gallery  a:hover { color: rgb(221, 221, 221); }
	
	#category {font-family: "sans-serif"; color:#a0b74b; text-decoration: none; font-size: 14px; font-weight: bold; border: 0px solid #3e3e3e;}
	#category a:hover { font-family: "sans-serif"; color: rgb(221, 221, 221); text-decoration: underline; font-size: 14px; }
	#category a:active {font-family: "sans-serif"; color:#a0b74b; text-decoration: none; font-size: 14px;} 
	</style>
</head>
<body style="background-color:#fff; border: 1px solid rgb(221, 221, 221);" >
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr style="height:4px;">
			<td colspan="5" style="background-color: black;"></td>
		</tr>
		<tr valign="bottom" style="background: #fff">
			<td style="width: 173px" align="left" >
				&nbsp;<img src="<?php echo url::base(FALSE) ?>images/banner/logo_shoes.jpg" />
			</td>
			<td style="width: 173px"  align="left">
				<img src="<?php echo url::base(FALSE) ?>images/banner/logo_best_friend.jpg" />
			</td>
			<td style="width: 80px"></td>
			<td  align="right">&nbsp;<?=View::factory("layouts/user_login")?></td>
			<td style="width: 1px">&nbsp;</td>
		</tr>
		<tr style="height:4px;">
			<td colspan="5" style="background-color: black;"></td>
		</tr>
	</table>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr style="height:25px;">
			<td align="left" style="margin-left:  3px;"> &nbsp; &nbsp;<?=View::factory("layouts/menu_head_main")?></td>
		</tr>
	</table>
	<table height="23" cellspacing="0" cellpadding="0" align="center" width="100%">
      	<tbody>
	      <tr> 
	        <td background="<?php echo url::base(FALSE) ?>images/template/header/jacky/image/line_bg.jpg" align="center">
	         <table cellspacing="0" cellpadding="0" border="0" width="913">
	            <tbody><tr> 
	              <td align="center">
	              	<marquee scrollamount="2"><a href=#"><font color="red">ประกาศ กำลังปรับปรุงเว็บ</font></a></marquee>
	              </td>
	            </tr>
	          </tbody></table></td>
	      </tr>
    	</tbody>
    </table>
	<table border="0" width="100%">
		<tbody>
			<tr valign="top">
				<td valign="top"><?php echo $content ?></td>
				<td style="width: 160px" valign="top"><?=View::factory("layouts/ads_right")?></td>
			</tr>
		</tbody>
	</table>
	<table style="height: 123px;" cellspacing="0" cellpadding="0" border="0" width="100%">
	  	<tbody>
		  	<tr>
			    <td background="<?php echo url::base(FALSE) ?>images/template/footer/digitalc_footer2/image/copy_bg.jpg" align="center">
			    Rendered in {execution_time} seconds, using {memory_usage} of memory<br />
				Copyright ©2010–2010 Gift2FriendShop Team
			    </td>
		    </tr>
	    </tbody>
    </table>
</body>
</html>